bool getPBC(PyObject* model, const char szname[], PBC** result) 